package homework.homework02;

import java.util.Scanner;

public class MainApp {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入学员编号");
        String no = sc.nextLine();
        System.out.println("请输入姓名");
        String name = sc.nextLine();
        System.out.println("请输入性别");
        String sex = sc.nextLine();
        System.out.println("请输入身高");
        double height = sc.nextDouble();
        System.out.println("请输入年龄");
        int age = sc.nextInt();
        Student s1 = new Student(no,name,sex,height,age);
        System.out.println(s1);
    }
}
